home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 June / MacFormat 25.iso / Shareware City / Developers / macgzip_03b2-src / macos / think / PopUp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-07-08  |  487 b   |  22 lines  |  [TEXT/KAHL]

  1. #define    LeftSlop    13            /* leave this much space on left of title */
  2. #define    RightSlop    5            /* this much on right */
  3. #define    BotSlop        5            /* this much below baseline */
  4.  
  5. #define    PopUpBaseItem    17
  6. #define NumOfPopUps        3
  7.  
  8.  
  9. typedef struct {
  10.         Rect        MenuRect;
  11.         MenuHandle    Menu;
  12.         short        MenuID;
  13.         short        Selection;
  14.         }    PopUpType;
  15.         
  16. extern    PopUpType    PopUp[NumOfPopUps];
  17.  
  18.         
  19.  
  20. extern  pascal void DrawPopUp(DialogPtr theDialog, int theItem);
  21. extern    int DoPopUp(DialogPtr theDialog, int theItem);
  22.